package com.hongxun.project.assets.bMaterialStore.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 物资库版本表 b_material_store
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class BMaterialStore extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 物资库名称 */
	private String name;
	/** 发布年限 */
	private String releaseYear;
	/** 适用单位 */
	private String applyUnit;
	/** 开始时间 */
	private Date startTime;
	/** 状态(启用，停用) */
	private String status;
	/** 发布人 */
	private Integer releaseUser;
	/** 适用说明 */
	private String note;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setReleaseYear(String releaseYear) 
	{
		this.releaseYear = releaseYear;
	}

	public String getReleaseYear() 
	{
		return releaseYear;
	}
	public void setApplyUnit(String applyUnit) 
	{
		this.applyUnit = applyUnit;
	}

	public String getApplyUnit() 
	{
		return applyUnit;
	}
	public void setStartTime(Date startTime) 
	{
		this.startTime = startTime;
	}

	public Date getStartTime() 
	{
		return startTime;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setReleaseUser(Integer releaseUser) 
	{
		this.releaseUser = releaseUser;
	}

	public Integer getReleaseUser() 
	{
		return releaseUser;
	}
	public void setNote(String note) 
	{
		this.note = note;
	}

	public String getNote() 
	{
		return note;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("releaseYear", getReleaseYear())
            .append("applyUnit", getApplyUnit())
            .append("startTime", getStartTime())
            .append("status", getStatus())
            .append("releaseUser", getReleaseUser())
            .append("note", getNote())
            .toString();
    }
}
